package com.dwxt.cdms.entity.witheart;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class ReportOfSleep {

    private Integer shallowRatio;
    private Integer deepRatio;
    private Integer remRatio;
    private Integer rem;
    private Integer moveCounts;
    private Integer shallow;
    private Integer deep;
    private Integer sleepCounts;
    private Long sleepTime;
    private Long totalTime;
    private List<SLeepDetails> sLeepDetails;
    private List<Moves> moves;
    private Integer soberRatio;
    private Integer offbedRatio;
    private Integer sober;
    private Integer offbed;
    private Integer movingAverageLength;

    @NoArgsConstructor
    @Data
    public static class SLeepDetails {
        private String score;
        private String title;
        private String value;
    }

    @NoArgsConstructor
    @Data
    public static class Moves {
        private Long starttime;
        private Long endtime;
        private Integer score;
    }
}
